package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 挂号信息表(RegistrationInformation)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:46
 */

@ApiModel(value = "RegistrationInformation", description = "挂号信息表")
public class RegistrationInformation implements Serializable {
    private static final long serialVersionUID = -51497756529820138L;
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", notes = "主键", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 病人id
     */
    @ApiModelProperty(name = "patientId", notes = "病人id", dataType = "Integer", required = true)
    private Integer patientId;
    /**
     * 挂号科室
     */
    @ApiModelProperty(name = "departmentName", notes = "挂号科室", dataType = "String", required = true)
    private String departmentName;
    /**
     * 流水号
     */
    @ApiModelProperty(name = "serialNo", notes = "流水号", dataType = "Integer", required = true)
    private String serialNo;
    /**
     * 接诊状态
     */
    @ApiModelProperty(name = "receptionState", notes = "接诊状态", dataType = "Integer", required = true)
    private Integer receptionState;
    /**
     * 挂号时间
     */
    @ApiModelProperty(name = "registrationTime", notes = "挂号时间", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registrationTime;

    private Patient patient;

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public Integer getReceptionState() {
        return receptionState;
    }

    public void setReceptionState(Integer receptionState) {
        this.receptionState = receptionState;
    }

    public Date getRegistrationTime() {
        return registrationTime;
    }

    public void setRegistrationTime(Date registrationTime) {
        this.registrationTime = registrationTime;
    }

}
